package page.pc.homePage;

import basicTool.WaitTool;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import page.pc.AbstractPCPage;

/**
 * Created by lomo on 2017/3/17.
 */
public class LatestNewsPage extends AbstractPCPage{

    @FindBy(css = ".common-wrap.banner-small>.banner-text")
    private WebElement latestNewsBannerTEXT;

    public LatestNewsPage(WebDriver driver) {
        super(driver);
        WaitTool.waitFor(driver, WaitTool.DEFAULT_WAIT_4_ELEMENT, latestNewsBannerTEXT);
    }
}
